<?php
include "../include/global.php";
include "../include/function.php";
include "../include/admin_check.php";

$country_id=intval($_GET['cid']);

// ++ combox travelstyle
$sql_travelstyle="SELECT t.travelstyle_id, t.travelstyle_name FROM ".pre_table."travelstyle t, ".pre_table."country_travelstyle ct
				WHERE t.travelstyle_id=ct.travelstyle_id AND ct.country_id='".$country_id."' AND t.lang='".$lang."'";
$rs_travelstyle=execSQL($sql_travelstyle);
$cbo_travelstyle.="<select class=field name='travelstyle_id[]' multiple>";
$cbo_travelstyle.='<option value="">---</option>';
while ($rows = mysql_fetch_array($rs_travelstyle)){
	$cbo_travelstyle.= '<option value="'.$rows['travelstyle_id'].'">'.$space.$rows['travelstyle_name'].'</option>';
}
$cbo_travelstyle.="</select>&nbsp;";
for($i=0; $i < sizeof($arr_tree); $i++){
	$cbo_travelstyle =str_replace("value=\"".$arr_tree[$i]."\"","value=\"".$arr_tree[$i]."\" selected",$cbo_travelstyle);
}
// -- combox travelstyle

echo $cbo_travelstyle;
?>